package com.jxbeidou.system.dict.convert;

import com.jxbeidou.system.dict.entity.DictTypeDO;
import com.jxbeidou.system.dict.vo.DictTypeVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 字典类型表
*
* @author 杜晓祥 
* @since 1.0.0 2023-12-14
*/
@Mapper
public interface DictTypeConvert {
    DictTypeConvert INSTANCE = Mappers.getMapper(DictTypeConvert.class);

    DictTypeDO convert(DictTypeVO vo);

    DictTypeVO convert(DictTypeDO entity);

    List<DictTypeVO> convertList(List<DictTypeDO> list);

}